package com.my.interview;

import java.util.LinkedHashMap;

public class LRULinkeHashMap<K,V> extends LinkedHashMap<K,V> {


    private int capcity;

    @Override
    public boolean remove(Object key, Object value) {
        return super.remove(key, value);
    }
}

class LRUCache{

    private LinkedHashMap<Integer, Integer> linkedHashMap;
    private int capcity;

    public LRUCache(int capcity){

        this.linkedHashMap = new LinkedHashMap<Integer, Integer>(){

//

            @Override
            public Integer remove(Object key) {
                return super.remove(key);
            }
        };
    }
}